package com.yanlight.app.response;

import com.yanlight.app.model.ShopMemberSpec;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by wangfang on 17-12-12.
 */
public class ShopMemberListResponse extends PageResponse {
    private List<ShopMemberSpec> users;

    public List<ShopMemberSpec> getUsers() {
        return users;
    }

    public void setUsers(List<ShopMemberSpec> tradeUserSpecList) {
        this.users = tradeUserSpecList;
    }

    public void addTraderUser(ShopMemberSpec userSpec){
        if(users==null)
            users = new ArrayList<ShopMemberSpec>(10);
        users.add(userSpec);
    }
}
